<div class="app-content-body ">   
    <div class="bg-light lter b-b wrapper-md hidden-print">
      <h1 class="m-n font-thin h3">会员分红记录</h1>
    </div>
    <div class="crud-container crud-reset">
		<div class="row" style="margin:0;">
			<div class="col-sm-9" style="padding: 0;">
				<div>
					<div class="row" >
						<div class="col-lg-3 col-md-3 col-sm-4">
				            <div id="products-simple" class="margins"></div> 
						</div>
						<div class="col-lg-3 col-md-3 col-sm-4">
			                <div id="date" class="margins"></div>
						</div>
						<div class="col-lg-3 col-md-3 col-sm-4">
			                <div id="dates" class="margins"></div>
						</div>
					</div>
				</div>
			</div>
			<div class="col-sm-3 input-group">
	      	  <input type="text" class="input-sm form-control" placeholder="Search" style="height: 34px; margin-top: -4px;">
	          <span class="input-group-btn">
	          		<button class="btn btn-sm btn-default" type="button" style="height: 34px; margin-top: -4px;">搜索</button>
	          </span>
	        </div>
		</div>
		<div class="data_list"></div>
	</div>
</div>
<script>
$(function(){
	$("#products-simple").dxSelectBox({
        items: {}
   });
   
    var now = new Date()
    $("#date,#dates").dxDateBox({
        type: "date",
        value: now
    });
    
    $(".crud-container").crud({
      url: API("dividend"),
	
      columns: [{
        dataField: 'id',
        caption: '会员姓名'
      },{
        dataField: 'id',
        caption: '手机号'
      },{
        dataField: 'dividend_total',
        caption: '分红金额'
      },{
      	dataField: 'divident_date',
        caption: '分红时间'
      },{
        dataField: 'id',
        caption: '分红类型'
      }]
    });
})
</script>